<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:c="http://java.sun.com/jstl/core"
                xmlns:sf="http://www.springframework.org/tags/faces"
                xmlns:a4j="http://richfaces.org/a4j"
                xmlns:rich="http://richfaces.org/rich"
                xmlns:spring="http://www.springframework.org/tags"
                template="../../../layout/Template.xhtml">

    <ui:define name="menu">
        <ui:include src="${user.menu}"/>
    </ui:define>

    <ui:define name="title">
        <div>
            <h:outputText value="#{resourceBundle.title} !"/>
        </div>
    </ui:define>

    <ui:define name="content">
        <ui:fragment id="updateUnitFragment">

            <h:form id="choseSchedules">
                <rich:tabPanel activeTabClass="tab">
                    <rich:tab label="#{resourceBundle.scheduleEducations}"
                              style="border-width: 0px; background-color: #d0d0d0; text-align: center;">
                        <ui:include src="scheduleEducation.xhtml"/>
                    </rich:tab>

                    <rich:tab label="#{resourceBundle.scheduleRooms}"
                              style="border-width: 0px; background-color: #d0d0d0; text-align: center;">
                        <ui:include src="schedulesRooms.xhtml"/>
                    </rich:tab>

                    <rich:tab label="#{resourceBundle.scheduleReport}"
                              style="border-width: 0px; background-color: #d0d0d0; text-align: center;">
                        <ui:include src="schedulesReport.xhtml"/>
                    </rich:tab>
                </rich:tabPanel>
            </h:form>
        </ui:fragment>
    </ui:define>

</ui:composition>